package com.librarysys.dao;

import com.librarysys.entity.Reader;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ReaderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Reader record);

    int insertSelective(Reader record);

    Reader selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Reader record);

    int updateByPrimaryKeyWithBLOBs(Reader record);

    int updateByPrimaryKey(Reader record);

    List<Reader> selectAll();

    Reader selectByBarcode(String barcode);
}